const { Schema, model } = require('mongoose')

const userSchema = new Schema({
  username: String,
  password: String,
  name: String,
  sex: String,
  avatarUrl: String,
  address: String,
  birthday: Date
})

const UserModel = model('User', userSchema)

module.exports = UserModel
